﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;

namespace Com.CMS263.DAO
{
    public class AreaDAO
    {
        public AreaDAO() { }
        public IList<Area> GetAllAreaByPid(string pid)
        {
            return DBHelper.ExecuteHQL("from Area where CityId=" + pid).List<Area>();
        }
    }
}
